//复制
function copy(content) {
	const textToCopy = content.toString()
	uni.setClipboardData({
		data: textToCopy,
		success: function() {
			console.log('复制成功');
			uni.showToast({
				title: '复制成功',
				icon: 'success'
			});
		},
		fail: function(err) {
			console.error('复制失败', err);
			uni.showToast({
				title: '复制失败',
				icon: 'none'
			});
		}
	});
}
export default copy